package org.example.Client;

import com.sun.org.apache.xpath.internal.operations.Bool;

public class Avatar {
    private String vcn;//发音人声音
    private int width;//虚拟人分辨率宽
    private int height;//虚拟人分辨率高
    private String sid;//会话id
    private String type;//交互类型，初次调用需type=0，用来初始化
    private int frameStatus;//帧数，0/1/2，使用时需首次传入0，后续都为1，结尾最后一次为2，即0-1-1-1-……-1-1-1-2
    private String data;//文本数据，需base64编码
    private int bgType;//背景，0：图片，1：视频
    private String bgUrl;//背景图的url，需可访问到的url
    private int pushMode;//视频流协议，0=rtmp,6=webrtc,12=xrtc
    private int textCache;//0:变动文本，1:固定文本(⽂本会被多次进⾏合成)，服务会进⾏缓存，优化合成时间
    private boolean customerInterrupt;//交互模式，false为打断模式，true为追加模式
    private String cid;//客户端本次请求唯⼀标识 发送⽂本时候传⼊ 响应data返回该id
    private extend extend;//扩展信息，json字符串
    private Boolean subtitle;//是否需要字幕，默认false
    private subtitleExtend subtitleExtend;//字幕相关裁剪参数
    private boolean fullDuplex;

    public String getVcn() {
        return vcn;
    }

    public void setVcn(String vcn) {
        this.vcn = vcn;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public int getFrameStatus() {
        return frameStatus;
    }

    public void setFrameStatus(int frameStatus) {
        this.frameStatus = frameStatus;
    }
    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public int getBgType() {
        return bgType;
    }

    public void setBgType(int bgType) {
        this.bgType = bgType;
    }

    public String getBgUrl() {
        return bgUrl;
    }

    public void setBgUrl(String bgUrl) {
        this.bgUrl = bgUrl;
    }

    public int getPushMode() {
        return pushMode;
    }

    public void setPushMode(int pushMode) {
        this.pushMode = pushMode;
    }

    public int getTextCache() {
        return textCache;
    }

    public void setTextCache(int textCache) {
        this.textCache = textCache;
    }

    public Boolean getCustomerInterrupt() {
        return customerInterrupt;
    }

    public void setCustomerInterrupt(Boolean customerInterrupt) {
        this.customerInterrupt = customerInterrupt;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public org.example.Client.extend getExtend() {
        return extend;
    }

    public void setExtend(org.example.Client.extend extend) {
        this.extend = extend;
    }

    public Boolean getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(Boolean subtitle) {
        this.subtitle = subtitle;
    }

    public org.example.Client.subtitleExtend getSubtitleExtend() {
        return subtitleExtend;
    }

    public void setSubtitleExtend(org.example.Client.subtitleExtend subtitleExtend) {
        this.subtitleExtend = subtitleExtend;
    }

    public boolean isCustomerInterrupt() {
        return customerInterrupt;
    }

    public void setCustomerInterrupt(boolean customerInterrupt) {
        this.customerInterrupt = customerInterrupt;
    }

    public boolean isFullDuplex() {
        return fullDuplex;
    }

    public void setFullDuplex(boolean fullDuplex) {
        this.fullDuplex = fullDuplex;
    }
}
